How to implement nested if else and using SetState in react js

welcome to shbcf.ru